home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / text / hyper / htmledit.lha / HTMLEdit / rexx / LoadToIProbe.hrx < prev    next >
Text File  |  1999-01-04  |  639b  |  33 lines

  1. /*
  2. **
  3. ** Load To IProbe - ARexx script for HTMLEditor
  4. ** $VER: LoadToIProbe.hrx © Adam 'Sherwood' Zaparcinski 
  5. ** This script saves actually edited file and loads this file to IProbe
  6. ** Tested with IProbe 0.5
  7. **
  8. */
  9.  
  10. options results
  11. address 'HTMLEDIT.1'
  12.  
  13. /* save edited file */
  14.  
  15. he_save
  16.  
  17. /* get name of file (with path) */
  18.  
  19. he_getfilename
  20. URL=RESULT
  21.  
  22. /* path to IProbe should be specified as an argument */
  23. PARSE ARG BROWSERPATH
  24.  
  25. /* The simplest way to load our page to IProbe is to run
  26. ** IProbe with path and file as an argument. If IProbe
  27. ** is already running it will just load file
  28. */
  29.  
  30. ADDRESS COMMAND
  31. 'RUN >NIL:' BROWSERPATH URL
  32. exit
  33.